<template>
  <div class="common-layout">
    <el-container class="layout-container">
      <Aside />
      <el-container class="isVertical">
        <Header />
        <Main />
      </el-container>
    </el-container>
  </div>
</template>

<script setup lang="ts" name="Layout">
import Header from "./header.vue";
import Aside from "./aside.vue";
import Main from "./main.vue";
</script>

<style lang="scss" scoped>
.common-layout {
  height: 100%;
  .el-container {
    height: 100%;
    display: flex;
  }
  .isVertical {
    flex-direction: column;
  }
}
</style>
